package com.ruoyi.mall.product.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * spu属性值对象 pms_spu_attr_value
 *
 * @author zhangqishu
 * @date 2022-05-25
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PmsSpuAttrValue {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private Long spuId;

    /**
     * 属性id
     */
    @Excel(name = "属性id")
    private Long attrId;

    /**
     * 属性名
     */
    @Excel(name = "属性名")
    private String attrName;

    /**
     * 属性值
     */
    @Excel(name = "属性值")
    private String attrValue;

    /**
     * 顺序
     */
    @Excel(name = "顺序")
    private Integer sort;

}
